package com.pzl.demo_repository;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

/**
 * Created by zl.peng on 2016-02-23.
 */
public class MyHolder extends RecyclerView.ViewHolder {
    private TextView tv_content, tv_text2;
    private ImageView iv_icon;
    private View root;

    public MyHolder(View itemView) {
        super(itemView);
        root = itemView;
        tv_content = (TextView) itemView.findViewById(R.id.tv_text);
        tv_text2 = (TextView) itemView.findViewById(R.id.tv_text2);
        iv_icon = (ImageView) itemView.findViewById(R.id.iv_icon);
    }


    public TextView getTv_content() {
        return tv_content;
    }

    public View getRoot() {
        return root;
    }

    public TextView getTv_text2() {
        return tv_text2;
    }

    public ImageView getIv_icon() {
        return iv_icon;
    }
}
